package com.ruoyi.logistic.service.impl;

import com.ruoyi.logistic.domain.NetworkSettleType;
import com.ruoyi.logistic.mapper.NetworkSettleTypeMapper;
import com.ruoyi.logistic.service.NetworkSettleTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class NetworkSettleTypeServiceImpl implements NetworkSettleTypeService {
    @Autowired
    private NetworkSettleTypeMapper networkSettleTypeMapper;
    @Override
    public List<NetworkSettleType> selectAll() {
        return networkSettleTypeMapper.selectAll();
    }

    @Override
    public Boolean insert(NetworkSettleType networkSettleType) {
        return networkSettleTypeMapper.insert(networkSettleType);
    }

    @Override
    public Boolean update(NetworkSettleType networkSettleType) {
        return networkSettleTypeMapper.update(networkSettleType);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return networkSettleTypeMapper.deleteById(id);
    }

    @Override
    public NetworkSettleType findById(Integer id) {
        return networkSettleTypeMapper.findById(id);
    }
}
